﻿@model IEnumerable<Student>
@using WebApplication4.Controllers
@{

    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Qiang</title>
</head>
<body>
    @*<ul>
            @foreach (Student student in (ViewBag.List as IEnumerable<Student>))
            {
                <li>
                    @student.Name
                </li>
            }
        </ul>*@
    @foreach (Student student in ViewBag.List)
    {
        <li>@student.Name</li>
    }
</body>
</html>
